Bug 488507 – boundless growth of .recently-used.xbel file slows down
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 15 Apr 2008 22:37:32 +0000 (22:37 +0000)
committerEmmanuele Bassi <ebassi@src.gnome.org>
Tue, 15 Apr 2008 22:37:32 +0000 (22:37 +0000)
commitbeb54a9b397109b4e964b85469b17d8b04bba9ee
tree21584f485520018f023a2aa2d18d913354f0591c
parentc31e25203052576a90ec1978c939424fafd132c2
Bug 488507 – boundless growth of .recently-used.xbel file slows down

2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>

Bug 488507 – boundless growth of .recently-used.xbel file
slows down applications

* gtk/gtkrecentmanager.c:
(gtk_recent_manager_init),
(gtk_recent_manager_real_changed),
(gtk_recent_manager_set_filename),
(gtk_recent_manager_clamp_to_age): Clamp the recently
used resources list by the age of its items, using
the newly added GtkSettings property.

* gtk/gtksettings.c (gtk_settings_class_init): Add the
gtk-recent-files-max-age property, controlling the
maximum age of the items in the recently used resources
list.

svn path=/trunk/; revision=20006
ChangeLog
gtk/gtkrecentmanager.c
gtk/gtksettings.c